package com.iad.controller.event {
	
	
	import flash.events.Event;
	import com.adobe.cairngorm.control.CairngormEvent;
	
	import mx.core.UIComponent;

	public class AdminEvent extends CairngormEvent {
		
		public static const EDIT_MODE:String = "editMode";
		//public static const NO_EDIT_MODE:String = "noEditMode";
		public static const CANCEL_MODE:String = "cancelMode";
		public static const PREVIEW_MODE:String = "previewMode";
		public static const PUBLISH_MODE:String = "publishMode";
		
    [Bindable]
    public var object:Object;
    
    public function AdminEvent(type:String, obj:Object, bubbles:Boolean=false, cancelable:Boolean=false) {
      super(type, bubbles, cancelable);
      this.object = obj;
    }
	}
}